//
//  REdateTableViewCell.h
//  录音
//
//  Created by ywy on 2016/12/27.
//  Copyright © 2016年 Wely. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "ReRecordModel.h"
#import <AVFoundation/AVFoundation.h>
#import "RETrackList.h"

typedef void(^playBlock)(ReRecordModel * model,BOOL playOrStop,NSInteger number,UITableViewCell*cell,NSIndexPath * indexPath);



@interface REdateTableViewCell : UITableViewCell

//@property (nonatomic, assign) id<StopPlayDelegate>delegate;

@property (nonatomic, strong) NSIndexPath *indexPath;

@property (nonatomic, strong) AVPlayer     *selfPlayer;

@property(nonatomic,assign) BOOL ispaly;

@property (weak, nonatomic) IBOutlet UILabel *titleLabel;
// 专辑的名字
@property (weak, nonatomic) IBOutlet UILabel *smallTitleLabel;
// 小图片
@property (weak, nonatomic) IBOutlet UIImageView *smallmage;
// 进度条
@property (weak, nonatomic) IBOutlet UIProgressView *progressView;
// 进度时间的label
@property (weak, nonatomic) IBOutlet UILabel *progressLabel;
// 文件总时间的
@property (weak, nonatomic) IBOutlet UILabel *totalTimeLabel;

@property (weak, nonatomic) IBOutlet UIView *bigView;
@property (weak, nonatomic) IBOutlet UIView *samllView;
@property (weak, nonatomic) IBOutlet UIButton *palyButton;

@property(nonatomic,copy)playBlock play;

@property(nonatomic,strong)ReRecordModel * baseModel;

//@property(nonatomic,strong)   AVPlayerItem * item;

-(void)showDate:(ReRecordModel*)model withIndexPath:(NSIndexPath*)playIndexPath ;

// 上传按钮
@property (weak, nonatomic) IBOutlet UIButton *postButton;
// 归类按钮
@property (weak, nonatomic) IBOutlet UIButton *notClassButton;

//- (void)stopPlay;

@property (weak, nonatomic) IBOutlet UIView *backVIew;

@property (weak, nonatomic) IBOutlet UIImageView *backImageView;







@end
